package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

@Alias("strategyCreativeGroupMap")
public class StrategyCreativeGroupMap extends PO implements Serializable {
    private static final long serialVersionUID = 3583570913777517529L;

    /**
     * 策略标识，对应strategy.id
     */
    private int strategyId;
    /**
     * 创意标识，对应creatvie.id
     */
    private int creativeGroupId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 状态 -1 删除 0 初始 1 有效 默认值为1
     */
    private int status;



    public StrategyCreativeGroupMap() {
		super();
	}

	public StrategyCreativeGroupMap(int strategyId, int creativeGroupId) {
		super();
		this.strategyId = strategyId;
		this.creativeGroupId = creativeGroupId;
	}

	public int getStrategyId() {
        return strategyId;
    }

    public void setStrategyId(int strategyId) {
        this.strategyId = strategyId;
    }

    public int getCreativeGroupId() {
        return creativeGroupId;
    }

    public void setCreativeGroupId(int creativeGroupId) {
        this.creativeGroupId = creativeGroupId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
